package com.pctx.devicemanager.dao;

import com.pctx.devicemanager.pojo.DeviceWarning;
import com.pctx.devicemanager.pojo.DeviceWarningExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceWarningMapper {
    int countByExample(DeviceWarningExample example);

    int deleteByExample(DeviceWarningExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DeviceWarning record);

    int insertSelective(DeviceWarning record);

    List<DeviceWarning> selectByExample(DeviceWarningExample example);

    DeviceWarning selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DeviceWarning record, @Param("example") DeviceWarningExample example);

    int updateByExample(@Param("record") DeviceWarning record, @Param("example") DeviceWarningExample example);

    int updateByPrimaryKeySelective(DeviceWarning record);

    int updateByPrimaryKey(DeviceWarning record);
}